package com.powerdata.system.paimon;


import com.powerdata.system.domain.PaimonSaveSql;
import com.powerdata.system.domain.param.DelSaveSqlParam;
import com.powerdata.system.domain.param.PaimonExecLogParam;
import com.powerdata.system.domain.param.PaimonSaveSqlParam;

import java.util.Map;

/**
 * @author deeprado
 * @version 1.0
 * @description
 * @date 2023/8/24 16:09
 */
public interface PaimonSaveSqlService {
    Map<String, Object> sqlList(PaimonSaveSqlParam paimonSaveSqlParam) throws Exception;

    void add(PaimonSaveSql paimonSaveSql) throws Exception;

    void modify(PaimonSaveSql paimonSaveSql) throws Exception;

    void delete(DelSaveSqlParam delSaveSqlParam) throws Exception;

    Map<String, Object> sqlHistoryList(PaimonExecLogParam paimonExecLogParam) throws Exception;
}
